package com.zwj.common.service;


import com.zwj.common.entity.User;

import java.util.List;

public interface UserService {

    Object loginByPassword(User user);

    Object loginByVerificationCode(User user);

    String getVerificationCode(String phoneNumber);

    List<String> getUserPermission(Object loginId);

    Long getUserCount();

    Long getOnlineUserCount();

    Long getLoginUserId(String token);
}
